import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    scene: '',
    floor: '1'
  },
  mutations: {
    newScene(state, msg) {
      state.scene = msg;
    },
    newFloor(state, msg) {
      state.floor = msg;
    }
  },
  actions: {

  }
})
